/**
* @author:kellen
* @contact:xiekellen@hotmail.com
* @company:achivo-gz
* @created on:
* @modified on:
*/

package com.sasis.dao;

import java.util.List;

import com.sasis.dao.Dao;
import com.sasis.model.PassengerNotifyInfo;

public interface PassengerNotifyInfoDao extends Dao {

    /**
     * Retrieves all of the passengerNotifyInfos
     */
    public List getPassengerNotifyInfos(PassengerNotifyInfo passengerNotifyInfo);

    /**
     * Gets passengerNotifyInfo's information based on primary key. An
     * ObjectRetrievalFailureException Runtime Exception is thrown if 
     * nothing is found.
     * 
     * @param id the passengerNotifyInfo's id
     * @return passengerNotifyInfo populated passengerNotifyInfo object
     */
    public PassengerNotifyInfo getPassengerNotifyInfo(final Integer id);
    /**
     * Gets passengerNotifyInfo's information based on primary key. An
     * ObjectRetrievalFailureException Runtime Exception is thrown if 
     * nothing is found.
     * 
     * @param id the passengerNotifyInfo's id
     * @return passengerNotifyInfo populated passengerNotifyInfo object
     */
    public PassengerNotifyInfo getSearchPassengerNotifyInfo(final Integer id);


    /**
     * Saves a passengerNotifyInfo's information
     * @param passengerNotifyInfo the object to be saved
     */    
    public int savePassengerNotifyInfo(PassengerNotifyInfo passengerNotifyInfo);
    
    /**
     * Saves some passengerNotifyInfo's information
     * @param passengerNotifyInfo the object to be saved
     */  
    //added by liuhao 2007-8-21
    public void savePassengerNotifyInfos(PassengerNotifyInfo passengerNotifyInfo);

    /**
     * Removes a passengerNotifyInfo from the database by id
     * @param id the passengerNotifyInfo's id
     */
    public void removePassengerNotifyInfo(PassengerNotifyInfo passengerNotifyInfo);
}

